Bug in test fixed