Updated license and wrote unit tests for value