adds some new asserts, fixes some places where the assert message was just terrible, and also fixes method calls wrapped in an assert, which wasn't working