add Unit-Tests

We should add Unit-Tests to the backend.