removed SomeStatement and SomeExpression, added tests for declarations

Addresses issue https://github.com/borisyankov/DefinitelyTyped/issues/3245.  I also added some tests for function and variable declarations that were missing.  Also, there were some types in the names of some of the declarations which I fixed.