added has answers integration test
fixed ajax issue