test basic database insert