Pages not worked as expected. Test