Added gravity codes test to check whether a code can handle simulating a single particle