add test of result of dynamic command
add main func test
improve rspec test
rollback for merge
Merge remote-tracking branch 'remotes/banrui/master' into ph2

Conflicts:
	app/models/roma.rb
	spec/models/roma_spec.rb
finish to develop rspec test
modify rspec for changing cmd