Simplified the use of mocks and spies in test cases.
Improved Web Script test coverage.
Removed Web Script argument resolvers for seldom-used types.
Fixed some bugs.