Added NoSuchRecordException and StreamRecord tests
Added Apache Licenses to sourcefiles