fix tests in built version