[Test] Add test environment for functional tests

Including integration tests which is functional in the sense that
they need the whole system booted.