Test for invokes