Unit tests

@sunnyratilal can you try to submit that revert as a normal commit?

Looking at the roles install script for EDD and alot of those caps are added twice for some roles, we should fix that.

After staring at Travis for some time, I figured out why its those 4. Those 4 caps are the first cap for each that is a custom cap (one that EDD makes). So then the question becomes why?

Thinking that $wp_roles->role_objects might not be picking up our custom caps.

Maybe try var_dumping get_role('administrator') and see if that has the custom caps in it