adds unit testing support. correctly