Testing pages works correctly