tests for basic usage

Tests for all the examples in the README. Run with `python -m imgix.test`