add simple spod test
fix lastInsertId method