Added real return value to the test function.