Added basic test case for #1