added colored pathway and fixed some tests