CRM-15417 - Add unit test for getactions