Test retrieveing object from front and back