refactor TDD specs a bit