Updated messages in assertions and removed unneeded print statement.