added model test for get profile details