Added test for mac os launchd agent.