functional tests now uses unittest