Add tests of user profile template