Adding unit tests

- requires py.test, a local ssh server, scp and diff