Update tests and add copyright notices