Change to gc_precompile in tests

Just to avoid potentially running out of memory during CI builds.