Adds missing license headers on some scripts and test files