refactor imgur; create unit test directory
separate unit and integration tests