Fix #472 - applyBindingsWithValidation fails when invoked with viewModel and options

Added tests to prevent future bugs and to verify implementation.