Trying to fix nshTest and database errors