1. Java simulator: set StatusCode to INVALID_REQUEST (instead of
INTERNAL_ERROR) if value size exceeds 1M bytes.

2. Update test case to verify the drive/simulator set the expected error
code when the above occurred.