Tests environment improvements

also includes https://github.com/fs/backbone-base/issues/36