Add missing tests

Improve coverage for candidates.

Please note that this includes two failing tests related to blank slugs.