Issue #195: Added unit tests for the new methods.