Basic functionality

Here is gravity test with four tests all passing.