Enabled and fixed warnings in test script.