Added nullGraph and fixed unittest issues with special >= 0 cases