test_spy: rename to test_core, add test_raw