Fixed functional tests on snap.