Adding a mock subject to app.php tests