fixed test sketch