Further implementation of communication with PiFace and some tests.