build: move tests to after tools