Writing unit tests for Chalice

Brian