added tests for expected value