Adds make test and fixes piping.