add test for the assertions