Unit tests for reading scalars, separate source files for readers and builder