update fx::Slice and add tests for it