loading some bezier tests; refactored testing framework to reduce code duplication