update Gemfile
setup test env
add test models
add some test