Framework to assist with writing unit tests using a behavioural testing paradigm