Added tests encoding and decoding basic types uint16s, booleans, doubles and strings.
Added test output to .gitignore.
Reordered file to put tests at the top of the file.
Added tests for entry types.