Enhanced BeforeAndAfterAllConfigMap to take expectedTestCount into consideration to decide whether to run beforeAll/afterAll.
Merge branch 'ticket-133' of https://github.com/cheeseng/scalatest