add test for renaming module
fix renaming module function
add Gemfile.lock