Simplified yaml script in tests