finally unitary tests work fine