Add tests for delete scope, update client app