Add statement cache tests