Adding test case for getall