fixes, end-to-end tests

done