Fixed up some bugs in the web support
Added basic tests for the web interface
Added post test