[bug] correct aliases when using separators

  - Adds a new unittest for aliases
  - Closes #79
[bug] correct error code when using separators

  - Adds new functional test
  - Closes #86