first functional test, now uses unittest