On boundary conditions in lubrication with one dimensional analytical solutions