testdb playing with code