unit tests working after moving them to component level