created unit tests for shackles, replaced urllib with urllib2