Test using the services API instead of direct database manipulation where we can.