removing debugging code
new availability check for unsubmitted order_line considering it as running_line
fixing tests giving the required purpose and adapting paths