Added js tests samples and karma configuration