Added test cases for LongField.