fixed composer usage for unit tests