Added unit test with catch framework