fixed error and tests
updated to 0.0.8