Flesh out the database entries for the child and the transactions
Started to add testing for them.