Added first RecordTest, fixed a typo (records should work now) and added
some javadoc