Added tests for simple validator build rules.