minor work on functional test