Add asserts for debugging

Signed-off-by: Frank Filz <ffilz@us.ibm.com>