frontend TDD 1