re-code the tests
fixed the problem ajx event cannot be triggered using haml file because of using the :javascript filter