Removed errors in test code.