fix tests by splitting assert to file and content