Wrote some unit tests for FileRefItemDao