no assert()
Added tests