fixing test failure while runnibg whole package