test(ngRequired): add some tests for ngRequired

Closes #9316