Add unit test to bring out issue #12