bug in test fixed