Base for unit testing frontend.