Added legacy test as a comment, to be improved later.