fix ns.assert.fail and write tests
moar tests
replace one more assert