test: add nested multiple P blocks test