added tests for custom value behavior