changes for composer support, debugging, adding test file