Add API for submitting check runs

Also fixes a couple failing alert tests