Fixed testing error