adding more tests and license headers