Per PR #447, Getting this error with the following test lines: error TS2339: Property 'Reference' does not exist on type 'typeof database'.
In the sake of getting bug fixes out for release, I've commented them for now. Someone with some typescript chops should help me determine why they won't pass and enable these tests.