Unit Tests

- Added unit test to ensure correct F4 and JSON parse/compose.