chore: more tests, moved default_middlewares here, new CI setup