minor edit + better test