Fixed all broken files.
Some tests are disabled.