attempt to fix incorrect required behaviour
Test for #110
Test that regexp is checked and error message contains checked regexp