make sure test calls afterPropertiesSet on manually initialized Repo