folded class tests