Tests and slight fixes - timestamp auto update/insert now works