added tests for angularResCrit