add assertions to track bug

Link: https://github.com/GeneAssembly/biosal/issues/269
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>