Improve magazine example
Add new test case