Add test float script
improved validation and error handling
updated test scripts