I did a safety check for my car in Ottawa half a year ago. The check itself was not much but I had to fix certain things before I could get the certificate. It cost me $500.
Emission test was about $40. Again, if you need to fix things, it is another story.