changed lineEdit to manager style, added tests for FUNCTION