GetAll entities method and test