better tests (thanks @justinvdm)