Started tests

Added a few tests and made the Console and DialogHelper instances injectable for Output.

Also fixed an unimported ref to ReflectionClass in Result.