test_pkg: Use unittest's assertEqual() instead of plain assert

Signed-off-by: Euan Harris <euan.harris@citrix.com>