Merge pull request #57 from SevInf/fix/race

Port #57 to v0.4 branch

Fix race when running tests from bem-server
Conflicts:
	bem/techs/test-tmpl.js