fix npe in junit mocking ctx associations