added tests, updated install