constructor and binaryop test