added some tests for psa