added Test to document the requirement fullfiled by the previous commit