license and test in readme added