generalise test suite for TopCoder
generalise test suite for TopCoder