* add 'env' to schebang + small fix in tests