added tests for inline operator