Default option getValue filter to string, and fix some test bugs