Adding dambreak and Rankine-Hugoniot tests and fixing some minor bugs