Added tests for the maximum refinement function.
Added output from maximum refinement tests.