Fix: functional tests