Added general behavioural tests.