79318780 handle green trait

WIP: Please weigh in on this approach. Handling traits that come through as keys + a blank value. 

Also fixed a bad spec.
Minor: I've been avoiding in-line conditionals because code coverage doesn't catch whether the statement executes.