Error fixed by importing NotMeException in tests.