Moved test invocation into a script