test for psd view fn