added several test cases. refs #12