test canvas env