Fixed testing bug.