Tweaked Coursera Code as Custom Test to work with coursera branch or with current version of master (which does not have coursera specific code included.)