Added tests for adding a scope