Fixed test which was failing due to wrong offsets on interactive console.
When adding or removing a source folder, keep the variables from the user. Also, try to use the /${PROJECT_DIR_NAME} to make the paths project-relative when possible.