using unittest on functional tests