Added initial unit tests for #14.