Bug solved in test