replaced test_04 with more interesting test using the `as` operator