a base for testing purpose