Migrated to py.test and parameterized tests.