Add test and additional fixes for validation error