Test cases
Fixes #2