added in database insertion of stamp test