added test for bug id 14.

Added test case to verify bug id #14.