tests for views.BundleDetailView.get_active_group
added comments to the Models
fixed tests for motions
tests and comments for views