changed test implementation according to new behaviour