corrected compile err, added test directory