Use AssertTrue and AssertEquals instead of assert in unit tests