Generalizing the tests to make wercker setup more reasonable.