performed some simple smoke tests; fixed obvious errors