added tests for getting user index, adding and creating new users