Removed unnecessary gems and added test