added tests for $lan