add first functional test