Added failing functional test