Fix and close #229 by adding isCurrentAction().
For #151 add test for request-based disableFrameworkTest().