added first functional test