initial spec tests

Initial spec tests cover code that is currently in place.