fixed tests
updated demo