Adds test for record model numeric typecasting.
Reorganizes public API Jasmine tests.