test for get method
Better mock