Added unit tests for PNG parsing