Invert condition around 'selected' attribute
Update test-running scripts for ggrc_basic_permissions

* also added nosetests