Added tests and init script to repo
Fixed issue with .gitignore ignoring lib directory