String prototypes and unit tests