adding feature tests for validation errors