fixed slicing in class, added new test to check adding in values like list does, this test failing