Implemented writing Benchmarks and Tests to database.