fix tests for non images