test: make testing optional in build