some trivial tests now working; need better testing