enable test building before specs are run
move test setup and substitutions into the builder
remove remaining substitution code from Apivore class