test canvas input