testing the get method