Rewrite tests to run without a full Laravel application.