added new tests
modified coding styles, e.g. quotes, concatenation, etc
curl function incorrectly called,