Automate tests for CI