remove stuff not needed for the example
slight speedup - only activate test when needed