Added unit tests for observations. fixes #14
Fixed small error in unit tests
Minor edit: formatting.
Added the observation function. fixes #5

This was the last major function remaining. Search is the last remaining fn.