test psd functionality