adding global test code.