public function find($id)
    {
        $application = $this->repository->find($id);
        if (null == $application) {
            return null;
        }
        // Load tests
        $this->testLoader->loadByApplication($application);

        return $application;
    }