[candidature-filter] Fixed rspec tests