fixes, end-to-end tests

ok, good