test case bcs added, a bug fix