add CLI testing, add tests to grunt