added failing functional test
passing some of the functional tests