Set the raw mode only for tty enabled containers
Add missing file
Update the tests according to the "optional raw mode" changes