Removed uninitialized variable in test