simple tdd in swift