Allow certain tests to compile without -package option