added test in main to make sure get method works