testing directive requiring controllers not owned by directive