test exception on invalid strategy