[test] Adding test case for bug reported & fixed in #1