ADEN-1532 Add extra marker test

@gabrys, thanks!
1) very clever suggestion, fixed;
2) there isn't truly optional parameters in java like in C#, but I fixed it too.