All functional tests now pass

A unittest was added, to test for a bug found by testFunctionalExample.test_firststeps_sh