added project root option for 'init' action as 'root' and added test directory'