fix server tests ag1, ag2, ag3, mongo logging added.
merge from devjs working version into master(not working version)
add changes on non-working branch master
add changes on non-working branch master to make it work