image db fields fixes
fixed tests
tests for image files