added tests for trivial cases