Added custom assertion-failed messages to assertValid and assertNotValid as an optional second argument, making the current ones the default message.