node testing with assert()