added a few tests for #1