tests for top/top and bottom/bottom