fix typo
add parser for slices
implement test for slice parser