add content assertions for test and cleanup