Adding and removing of agents from a view works and tests were written for it as well