Added some tests until ViewNote branch can be merged.