fix options array for validator
add more tests.