ULib fix - substitute of (#1083 #1122)

@msmith-techempower  This updates fix some problems and add tests with database SQLite.

All tests are passing as per [my Travis-CI build log.](https://travis-ci.org/stefanocasazza/FrameworkBenchmarks/jobs/39974505)