Added tests for pagination, cceking admin access to user pages