basic test for view profile handler