added message after finished test and refactoring JS
added control to link status and start the test always that a board was connected