Added unit test

Added unit test for journal + account