Fixed broken done channel in main runner
Added unit tests for coordinate functions