I think everyone who owns a drone would like to be able to test it at home. No wind, no rain, close to computer and all required tool. But… If you do not have a very very big room that might not be a best idea ever. Limited space makes everything extremely dangerous. Specially in case of untested aircraft. Human body is fragile, quadcopter is a delicate device and propellers can spin quite fast. Luckilly there is a way to test at least some aspects of multirotor flight at home. You just need some kind of harness that will prevent drone from getting out of control and smashing into anything.
To create simple harness you will need 4 pieces of rope and something to attach them to. Like chairs. Or table. Or any other furniture. It only has to be heavy enough to support weight of your drone.
In more advanced version, like I did, you can attach to 2 wooden board to a basement/garage walls or bookstand. Just like on a picture above.
Will it work? Of course! Like that, for example: