Added a test for license checking of code files. Closes #454.