Fix use strict warnings
Use strict in tests
Add new lines above use strict and keep directives at the top
Merge pull request #1013 from bripkens/lint

Fix use strict warnings