Fix imports

Original imports didn’t work correctly due to a problem in my IDE. Now,
they do.
Add tests and documentation for spi-module

Added additional tests to make sure that data is sent correctly. Also
added documentation.