adding unit tests for new types