Added testEquals and testExceptions