Added unit testing & updated license