Unit test for RemoveMotivation