added validator test
Merge pull request #841 from rackerlabs/D-16187-tests

added validator test