added a test and fixed to make it compile my code doesn't work I guess.
Merge branch 'master' of https://github.com/regehr/advanced_os_class