more tests and fixes for psd parser