completed tests for pa1 methods