add maven files
fix unit test