Added ledger posting test

Added ledger posting test