removed user parameter during init. Fixes #44. Updated test cases to the new format.