compacted unit tests