Add copyrights to files. Add remaining context wrappers to test files.