[CDF-242]: Fixed get configuration inputstream for test scenarios