test spy 'get' method