Added testExif unit test
Refactoring