working on adding test case
Merge remote-tracking branch 'origin/master'
added test but parameter optimizer is still broken