Exact asymptotics for Boundary crossings of the brownian bridge with trend with application to the Kolmogorov test