remove unused slice + update tests