Updated Rails end related libraries
Updated test folder structure and fixed tests
Improved tests
Merge branch 'chore/update_gems'