add script for functional testing and README