made maxPos a constant and corrected max pos check
added slave data tests and creation fail test
documentation
Merge pull request #14 from john30/master

documentation, max pos