update output tests, solve compatibility issues