Tests and Documentation

Added some more tests and documentation headers