Adding tests for truncate filter