tried to add frontend tests (at least i prepared them)
fixed test setup