tests now working