unit test for GetActivityMembers
corrected getAsBoolean to avoid null pointer