Completed pending regression tests and changed UserProfile to AdminProfile