Adds python unit tests.