Added tests for user pages