Added EnterpriseApi unit tests