Added first functional test