Fix: resetting layout, allows subsequent tests to pass.
Provide default variable if user framework is unavailable