A new test developed in England could help doctors identify brain tumours much faster, with some results available in less than two hours during surgery.