added alias by function, moved tests to the browser