js tests and server tests