Write tests for frontend codes and make it congruent with running cala on CLI.
Write tests for frontend codes and make it congruent with running cala on CLI.