Add tests on piping assertions