Untrained exception

When the classifier isn't trained you shouldn't be able to use it.
Even in tests.
Fix #21