Wrote test cases for 11 (fixes #33)