Test that list => slice works with objects too.
Added Common.Slice method.