Add 1 test, fix 1 test, add missing license headers