add the first functional test