Implemented unit tests for parseParameters