Added BibRecord tests. Fixes #3
Fixed bad cache type exception. Fixes #4