added firstInvocation test