history&location tests naming and small refactoring
add enb
add documentation
fix jsDocs