Fix scope of private test classes