add tests for long