added stub code for tests and fixed missing comma