Fixed unexpired and expired scopes for notifications and added scope tests.
Merge pull request #213 from michaelbernstein/master

Fixed unexpired and expired scopes for notifications and added scope tes...