Updated Bed class and unit tests for it, rest of tests broken