add canvas test and collision detect test