test directory initialization

This PR adds initial test coverage for the `getRoot` and `getInitialCwd` methods, which set up the chroot and working directory upon user connection.