better stubbed tests with contexts defined