some minor test code