added test case for spaceused()