unit testing fixes to get started