fixed occupied spaces test to properly submit page twice