close #167
implemented new SQL query
wrote getBattles(sid) method
put @ignore if front of some tests, because the used list.get(0) and
since there are now 2 values in the DB, it broke