test that we can construct the object