update main to run test suite