Fixed testing-bug