db init and test routes