almost working tests and user views