added tests for uncovered code paths. refs #13