test: split tests into run-time and build-time tests