Add unit tests for APP1 parser