Entity: fixed ref & related API
Fixed & enhanced tests
Test bootstrap: added browser debugger settings