added tests for rle funcs