Add image tests
Fix images tests, add execution check.