Some unittests for backend module