HV-925 Adding test case for all defined scenarios in issue

- Making sure the right error types and messages are thrown
- Moving NotBlankTypeUse and NotNullTypeUse into the testutil package
HV-895 Adding test to show that issue was resolved by HV-925