prettier tests printout
fixed test case display, and added more precedence tests