Add a helper macro for serial tests.