fix(test): fixes for latest unittest lib

Closes #811