Fixed some erros in tests