tests: fix MySQL tests

Huge typo, shame! Then fix the timestamp precision issue by using a
PreciseTimestamp precise to the microsecond and stored as an decimal
type in that crappy MySQL.

Change-Id: Ie26d333346df847c3f4eb79c452335170e9f9ec3