added test script for operator assignment