Hmm, at the first look at least two "if" cases in ```isCurrentPanel``` aren't covered with tests (line 95 and line 111)