Simple test spy, framework-agnostic