fix bug with missing Tpl error message
update bootstrap unit test
updates to unit tests