fixed test compatibility