Added the first set of basic tests.

There are still a lot of tests to write but this is good start.