add hook for manually enqueuing a test
fix import