Modify tests and server
Add 2 tests to polling and transaction fail