add initial tests

Needs lots more...