Wrapping tests in a is statement and consequently fixes broken tests. 

This addresses #45.