simplify image test (slower but shorter)