Tram restaurant grinds to a halt after failing safety test