called reset in test before checking asserts and modified the controller to pass the test; changed routing action for leaving a group and modified the profile view
wrong id was been passed for leaving the group