Add test for checking that used colors are not deleted.