Various fixes for test cases and URL string builder.
Merge pull request #6 from am11/master

Passed all test cases for LoremPixel