test for inside retrieving