Adding a warning message for easier debugging.
Fixing a bug introduced by using new zkocc API.
Converting the remaining tests to unittest.