While fixing #170, I was trying to get some type errors by putting invalid gravity values in the test suite until I realized they were written in JS. Consider converting the test suites to TypeScript.