added new gravity tests to index.js