fixes to ibm files for proper compilation
fixes to ibm tests in testsuite
build test folder