Corrected some tests. Changed order of examples to test base cases first.