add more unit tests to BE components