updated test for bed count