And add tests for the get_size function. Related: rhbz#1844649
It tries to run anything with 'test' in it (and run() is reserved). It also outputs stderr so only log errors. Related: rhbz#1844649
Related: rhbz#1844649