added option for mandatory arguments with tests