refined the test, but it still has an error - sometimes produces empty images
(#343)
debugging errors
(#343)
resolving merge conflict
(#343)