Adding license info to all tests.
Additional formatting fixes as well.