test lastinsertid

add a new test for lastinsertid
@DeepDiver1975 @karlitschek