first pass at refactoring unit tests into logical groups. add test for primitives