wrapping ! test method in brackets for the check otherwise fails