partial refactor unit tests
fix json float deserialization
primitive unit tests