working on test errors