fixed mistakes in tests