Refactoring tests and fixing test issues.

1. Fix warnings (FxCop) … 
2. Refactor functional tests into three separate classes
3. Refactor VM size tests into separate tests
4. Fix a typo (Custon -> Custom)