add parameterized constructors to set properties for the purpose of unit testing. fixes #6