Migrate unit tests from unittest to py.test for easier and more flexible testing