added test for closeSide