Added tests for prf and sp.