Fixed some tests and added many more failing tests.