Fixing up gem dependencies and adding a test rake command