added to_camel method
fixed some code for failed tests