Added all tests, and fixed the build.