preparing unit-test infrastructure in backend