reworked tests and added constructor to diskspace