used Assert.IsTrue instead of Assert.AreEqual