updated activation-key tests to use factory and api's for dependent entities