moving tests using after action in deprecated. To be refactored