Add tests for model UserDetail and Role