fix tests for idea