Fixed unit test and added license files

Also fixed links in README files