Runs tests and build docs