Added some front end unit testing.