almost working tests