Fixed testing issue with canadiancase

Removed the main function within the canadian case to solve a package
problem and allow the tests to run properly.