Compiles but some tests fail