fix(tests): Missing os check code in grunt file