fixed databaseroute validator + unittest