All RSpec and  refactoring for it are done.

This code can not always run, especially Heroku environment. Please experiment in a careful way.