test lastinsertid
always return int
check type, assertgreaterthan
Merge pull request #3982 from owncloud/test_lastinsertid

test lastinsertid