Adding some tests for Image and Background filter.
Corrects type of assertion used in tests.
Merge pull request #8 from Achal-Aggarwal/unit-tests

Adds some tests.