Fixed and re-enabled all tests.