basic integration testing.

moved sample tests to their own dir.